import request from '@/assets/ts/request'

interface Login {
  phone: string
  password: string
}

// 手机号登录
export const login = (params: Login) => {
  return request.get('/login/cellphone', { params })
}
